package com.slf.spring.security.component.controller;


import com.slf.spring.security.component.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author slf
 * @since 2021-07-11
 */
@RestController
@RequestMapping("/sys-role")
public class SysRoleController {
    @Autowired
    SysRoleService roleService;
    public String selectOne(){
        roleService.list();
        return "success";
    }

}
